import 'package:json_annotation/json_annotation.dart';

part 'business_apply.g.dart';

@JsonSerializable()
class BusinessApply {
  final int cartId;
  final int quantity;

  BusinessApply(this.cartId, this.quantity);

  factory BusinessApply.fromJson(Map<String, dynamic> json) => _$BusinessApplyFromJson(json);

  Map<String, dynamic> toJson() => _$BusinessApplyToJson(this);
}
